package com.example.app2;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.app2.Dao.BookDao;
import com.example.app2.pojo.BookInfo;

@Database(entities = {BookInfo.class},version=1,exportSchema = true)
public abstract class BookDatabase extends RoomDatabase {
    //获取数据库中某张表的持久化对象
    public abstract BookDao bookDao();
}
